package com.google.code.onlineshopping4j.model;

import java.io.Serializable;
import java.util.Set;

public class OrderStatusHistory extends BaseModel implements Serializable{

  private final Set<OrderStatus> orderStatuses;

  public OrderStatusHistory(final Set<OrderStatus> orderStatuses) {
    this.orderStatuses = orderStatuses;
  }

  public void addStatus(final OrderStatus orderStatus) {
    this.orderStatuses.add(orderStatus);
  }
}
